﻿using System;
using System.Collections.Generic;

using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Yu.Cms.Web.UserCtrl.Default
{
    public partial class IndexAlbum :BaseCtrl
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                this.OnStart();
            }
                
        }

        protected void OnStart()
        {
            RptAlbum.DataSource = bllalbum.GetNewList(6);
            RptAlbum.DataBind();
        }
    }
}